package com.hns.can.master.entity;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Transient;

import com.hns.can.common.entity.BaseEntity;

/**
 * 车辆与驾驶员关系表对应的实体类
 * @author:Fisher
 * @email:zhuangcaijin@126.com
 * @version Revision 2.0.0
 */
@SuppressWarnings("serial")
@Entity
@Table(name = "T_BASE_CAR_DRV_REL")
public class BaseCarDrvRelEntity extends BaseEntity implements java.io.Serializable {
    
    // Fields
    
    @Id
    /** 关系ID */
    @Column(name = "REL_ID")
    private String relId;
    
    /** 企业ID */
    @Column(name = "CORP_ID")
    private String corpId;
    
    /** 车辆ID */
    @Column(name = "CAR_ID")
    private String carId;
    
    /** 驾驶员ID */
    @Column(name = "DRV_ID")
    private String drvId;
    
    /** 创建时间 */
    @Column(name = "CRT_TIME")
    private Date   crtTime;
    
    /** 创建人 */
    @Column(name = "CRT_USER")
    private String crtUser;
    
    /** 更新时间 */
    @Column(name = "UPDATE_TIME")
    private Date   updateTime;
    
    /** 更新人 */
    @Column(name = "UPDATE_USER")
    private String updateUser;
    
    // Interface property -- 界面上需要的属性 --
    
    // --car 车牌号
    @Transient
    private String licPltNo;
    
    // --car 设备ID
    @Transient
    private String eqmtCd;
    
    // --drv 驾驶员姓名
    @Transient
    private String drvName;
    
    // --drv 在职员工工号
    @Transient
    private String workEmpeEmpno;
    
    // --drv 考勤卡卡号
    @Transient
    private String timecardCardno;
    
    // --drv 姓别
    @Transient
    private String gender;
    
    // --drv 联系方式
    @Transient
    private String ctcWay;
    
    // Constructors
    
    /** default constructor */
    public BaseCarDrvRelEntity() {
    }
    
    // Property accessors
    
    public String getRelId() {
        return this.relId;
    }
    
    public void setRelId(String relId) {
        this.relId = relId;
    }
    
    public String getCorpId() {
        return this.corpId;
    }
    
    public void setCorpId(String corpId) {
        this.corpId = corpId;
    }
    
    public String getCarId() {
        return this.carId;
    }
    
    public void setCarId(String carId) {
        this.carId = carId;
    }
    
    public String getDrvId() {
        return this.drvId;
    }
    
    public void setDrvId(String drvId) {
        this.drvId = drvId;
    }
    
    public Date getCrtTime() {
        return this.crtTime;
    }
    
    public void setCrtTime(Date crtTime) {
        this.crtTime = crtTime;
    }
    
    public String getCrtUser() {
        return this.crtUser;
    }
    
    public void setCrtUser(String crtUser) {
        this.crtUser = crtUser;
    }
    
    public Date getUpdateTime() {
        return this.updateTime;
    }
    
    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }
    
    public String getUpdateUser() {
        return this.updateUser;
    }
    
    public void setUpdateUser(String updateUser) {
        this.updateUser = updateUser;
    }
    
    // Interface property accessors -- 界面上需要的属性对应的访问 --
    
    public String getLicPltNo() {
        return licPltNo;
    }
    
    public void setLicPltNo(String licPltNo) {
        this.licPltNo = licPltNo;
    }
    
    public String getDrvName() {
        return drvName;
    }
    
    public void setDrvName(String drvName) {
        this.drvName = drvName;
    }
    
    public String getWorkEmpeEmpno() {
        return workEmpeEmpno;
    }
    
    public void setWorkEmpeEmpno(String workEmpeEmpno) {
        this.workEmpeEmpno = workEmpeEmpno;
    }
    
    public String getGender() {
        return gender;
    }
    
    public void setGender(String gender) {
        this.gender = gender;
    }
    
    public String getEqmtCd() {
        return eqmtCd;
    }

    public void setEqmtCd(String eqmtCd) {
        this.eqmtCd = eqmtCd;
    }

    public String getCtcWay() {
        return ctcWay;
    }
    
    public void setCtcWay(String ctcWay) {
        this.ctcWay = ctcWay;
    }
    
    public String getTimecardCardno() {
        return timecardCardno;
    }
    
    public void setTimecardCardno(String timecardCardno) {
        this.timecardCardno = timecardCardno;
    }
    
}
